package com.group.model;

import java.util.Date;
import java.util.List;

/**
 * 帖子
 * 
 * @author zhaolei
 *
 */
public class Topic {

	private Long id;

	private Long boardId;

	/**
	 * 新闻id
	 */
	private Long newsId;

	/**
	 * 快讯id
	 */
	private Long newsFlashId;

	/**
	 * 引用topic的id
	 */
	private String quoteTopicId;

	/**
	 * 快讯标题
	 */
	private String newsFlashTitle;

	/**
	 * 快讯内容
	 */
	private String newsFlashContent;

	/**
	 * 新闻标题
	 */
	private String newsTitle;

	/**
	 * 新闻列表图片
	 */
	private String newsFileId;

	/**
	 * 新闻端添加的帖子描述
	 */
	private String newsDesc;

	/**
	 * 板块,新增帖子不传
	 */
	private String boardName;

	/**
	 * 引用内容
	 */
	private String quoteContent;

	/**
	 * 标题
	 */
	private String title;

	/**
	 * 图片id
	 */
	private String fileId;

	/**
	 * 图片信息
	 */
	private FileMap file;

	private Long userId;

	private String userName;

	private String userHeadimage;

	/**
	 * 回复数
	 */
	private Integer replyCount;

	/**
	 * 表情数组
	 */
	private List<Emoji> emojis;

	/**
	 * 1正常,0删除
	 */
	private Integer state;

	/**
	 * 是否置顶
	 */
	private Integer isTop;

	/**
	 * 是否精选 0,1
	 */
	private Integer isSelect;

	/**
	 * 是否分析 0,1
	 */
	private Integer isAnalysis;

	private Date createTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getBoardId() {
		return boardId;
	}

	public void setBoardId(Long boardId) {
		this.boardId = boardId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getReplyCount() {
		return replyCount;
	}

	public void setReplyCount(Integer replyCount) {
		this.replyCount = replyCount;
	}

	public String getFileId() {
		return fileId;
	}

	public void setFileId(String fileId) {
		this.fileId = fileId;
	}

	public String getBoardName() {
		return boardName;
	}

	public void setBoardName(String boardName) {
		this.boardName = boardName;
	}

	public List<Emoji> getEmojis() {
		return emojis;
	}

	public void setEmojis(List<Emoji> emojis) {
		this.emojis = emojis;
	}

	public String getUserHeadimage() {
		return userHeadimage;
	}

	public void setUserHeadimage(String userHeadimage) {
		this.userHeadimage = userHeadimage;
	}

	public String getQuoteTopicId() {
		return quoteTopicId;
	}

	public void setQuoteTopicId(String quoteTopicId) {
		this.quoteTopicId = quoteTopicId;
	}

	public String getQuoteContent() {
		return quoteContent;
	}

	public void setQuoteContent(String quoteContent) {
		this.quoteContent = quoteContent;
	}

	public FileMap getFile() {
		return file;
	}

	public void setFile(FileMap file) {
		this.file = file;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getIsTop() {
		return isTop;
	}

	public void setIsTop(Integer isTop) {
		this.isTop = isTop;
	}

	public Integer getIsSelect() {
		return isSelect;
	}

	public void setIsSelect(Integer isSelect) {
		this.isSelect = isSelect;
	}

	public Long getNewsId() {
		return newsId;
	}

	public void setNewsId(Long newsId) {
		this.newsId = newsId;
	}

	public String getNewsTitle() {
		return newsTitle;
	}

	public void setNewsTitle(String newsTitle) {
		this.newsTitle = newsTitle;
	}

	public String getNewsFileId() {
		return newsFileId;
	}

	public void setNewsFileId(String newsFileId) {
		this.newsFileId = newsFileId;
	}

	public String getNewsDesc() {
		return newsDesc;
	}

	public void setNewsDesc(String newsDesc) {
		this.newsDesc = newsDesc;
	}

	public Long getNewsFlashId() {
		return newsFlashId;
	}

	public void setNewsFlashId(Long newsFlashId) {
		this.newsFlashId = newsFlashId;
	}

	public String getNewsFlashTitle() {
		return newsFlashTitle;
	}

	public void setNewsFlashTitle(String newsFlashTitle) {
		this.newsFlashTitle = newsFlashTitle;
	}

	public String getNewsFlashContent() {
		return newsFlashContent;
	}

	public void setNewsFlashContent(String newsFlashContent) {
		this.newsFlashContent = newsFlashContent;
	}

	public Integer getIsAnalysis() {
		return isAnalysis;
	}

	public void setIsAnalysis(Integer isAnalysis) {
		this.isAnalysis = isAnalysis;
	}

}
